import { get, post } from "../request";

const BaseModel = {
  queryByPage(pageDto) {
    return post("/modelBaseModels/queryByPage", pageDto);
  },
  add(modelBaseModels) {
    return post("/modelBaseModels/add", modelBaseModels);
  },
  edit(modelBaseModels) {
    return post("/modelBaseModels/edit", modelBaseModels);
  },
  deleteById(id) {
    return get("/modelBaseModels/deleteById", id);
  },
  getById(id) {
    return get("/modelBaseModels/queryById", id);
  },
  queryBasePointId(pointName) {
    return get("/modelBaseModels/queryBasePointId", pointName);
  },
};

export default BaseModel;
